using System.Runtime.Serialization;

namespace Ayatta.Contract.Domain
{
    public interface IEntity
    {
        
    }
    public interface IEntity<T>:IEntity
    {
        /// <summary>
        /// Id 主键 只能为log,int,short,string,Guid
        /// </summary>
        T Id { get; set; }
    }
}